<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
	
	<title>laypage--分页插件</title>
	
	<script type="text/javascript" src="../jquery/jquery-1.8.1.min.js"></script>
	<script type="text/javascript" src="laypage.js"></script>
	
	<script>
	$(document).ready(function(){
		laypage({
		    cont: 'page1',
		    pages: 60,// ${(total/limit+0.9999)?int}
		    curr: 5, // ${((start/limit)?int) + 1}
		    // skip: true,
		    // skin: '#AF0000',
		    jump: function(e){
		    	/* 
		    	if (${((start/limit)?int) + 1} != e.curr) {
		    		var url = '${contextPath}/zt/list.do?topicID=${obj.id}&start='+((e.curr-1)*${limit});
			    	window.location.href = url;
		    	}
		    	*/
		    }
		});
	});
	</script>
</head>
<body>
	<div id="page1"></div>
</body>
</html>